import $http from "@/utils/http"

async function register(data) {
  const datamsg = JSON.stringify(data)
  return $http.post("/user/register", { datamsg })
}
export default register
